from api.api import ElasticSearchQueryResource
from flask_restful import reqparse


class BrandWordCloudResource(ElasticSearchQueryResource):
    pass


class BrandWordCloudMatchResource(ElasticSearchQueryResource):
    pass


brand_match_parser = reqparse.RequestParser()
brand_match_parser.add_argument('youka_id', type=str, location='json')
brand_match_parser.add_argument('brand', type=str, location='json')
brand_match_parser.add_argument('biz_code', type=str, location='json')
brand_match_parser.add_argument('biz_name', type=str, location='json')
brand_match_parser.add_argument('class1_id', type=str, location='json')
brand_match_parser.add_argument('class1_name', type=str, location='json')
brand_match_parser.add_argument('term',  type=str, location='json')

# id_parser = reqparse.RequestParser()
# id_parser.add_argument('id', type=str, location='args')
